package com.aixi.desktop.data

import android.content.Context
import androidx.datastore.core.DataStore
import androidx.datastore.preferences.core.Preferences
import androidx.datastore.preferences.core.intPreferencesKey
import androidx.datastore.preferences.preferencesDataStore


object AppConfigStore {
    val Context.appConfigStore: DataStore<Preferences> by preferencesDataStore(name = "appConfig")
    val STORE_KEY_WIDGET_INT_TIME_FONT_SIZE = intPreferencesKey("widget_time_font_size")
    val STORE_KEY_WIDGET_INT_TIME_FONT_COLOR_R = intPreferencesKey("widget_time_font_color_r")
    val STORE_KEY_WIDGET_INT_TIME_FONT_COLOR_G = intPreferencesKey("widget_time_font_color_g")
    val STORE_KEY_WIDGET_INT_TIME_FONT_COLOR_B = intPreferencesKey("widget_time_font_color_b")
    val STORE_KEY_WIDGET_INT_TIME_FONT_COLOR_A = intPreferencesKey("widget_time_font_color_a")
}
